FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 1052233445@qq.com

RUN mkdir -p /sczx/destroyer-system

WORKDIR /sczx/destroyer-system

EXPOSE 9099

ADD ./target/destroyer-system.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=prod"]
